5.5
MEDIUM CVSS 3.1
CVE-2022-49224
Linux Power Supply Ab8500 KObject Memory Leak
Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add(): If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Fix memory leak by calling kobject_put().

INFO

Published Date :

Feb. 26, 2025, 7 a.m.

Last Modified :

March 18, 2025, 7:33 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-49224 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Fix memory leak in the Linux kernel by calling kobject_put() on error.
  • Apply the kernel patch for ab8500_fg_sysfs_init.
  • Update the Linux kernel to a patched version.
  • Ensure kobject_put() is called on error paths.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-49224 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-49224 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-49224 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-49224 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 18, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-401
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 5.17.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9 up to (excluding) 4.9.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.276
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add(): If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Fix memory leak by calling kobject_put().
    Added Reference https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84
    Added Reference https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e
    Added Reference https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae
    Added Reference https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d
    Added Reference https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a
    Added Reference https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08
    Added Reference https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1
    Added Reference https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56
    Added Reference https://git.kernel.org/stable/c/ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact